package ca.etsmtl.log430.common;

/**
 * Class representing a project's set of data as read from the disk or any datastore.
 * Maps the basic attributes of the Project class in the Management layer
 * @author Adam
 *
 */
public class ProjectData {
        /**
         * Project ID
         */
        private String id;

        /**
         * Project name.
         */
        private String name;

        /**
         * Project start date.
         */
        private String startDate;

        /**
         * Project end date.
         */
        private String endDate;

        /**
         * Project priority
         */
        private String priority;
       
        /** Constructors **/
        public ProjectData()
        {
        }
       
        /** Setters **/
        public void setId(String id)
        {
                this.id = id;
        }
       
        public void setName(String n)
        {
                this.name = n;
        }
       
        public void setStartDate(String sd)
        {
                this.startDate = sd;
        }
       
        public void setEndDate(String ed)
        {
                this.endDate = ed;
        }
       
        public void setPriority(String p)
        {
                this.priority = p;
        }
       
        /** Getters **/
        public String getId()
        {
                return this.id;
        }
       
        public String getName()
        {
                return this.name;
        }
       
        public String getStartDate()
        {
                return this.startDate;
        }
       
        public String getEndDate()
        {
                return this.endDate;
        }
       
        public String getPriority()
        {
                return this.priority;
        }
}
